from flask import Flask
import config
from exts import db
from blueprints.auth import bp as auth_bp
from flask_migrate import Migrate
app = Flask(__name__)

app.config.from_object(config)

app.register_blueprint(auth_bp)

db.init_app(app)

migrate = Migrate(app, db)
@app.route('/')
def hello_world():  # put application's code here 啊啊啊啊啊啊啊啊
    return 'Hello World!'


if __name__ == '__main__':
    app.run()
